import request from '@/utils/request'

// 查询引导页列表
export function bootPage_list(query) {
  return request({
    url: '/town/guide/list',
    method: 'get',
    params: query
  })
}

// 新增引导页
export function bootPage_add(data) {
  return request({
    url: '/town/guide',
    method: 'post',
    data: data
  })
}

// 引导页详情数据
export function bootPage_info(data) {
  return request({
    url: '/town/guide/getInfo',
    method: 'get',
    params: data
  })
}

// 修改引导页
export function bootPage_update(data) {
  return request({
    url: '/town/guide',
    method: 'put',
    data: data
  })
}

// 删除引导页
export function bootPage_delete(id) {
  return request({
    url: '/town/guide/' + id,
    method: 'delete'
  })
}

// 修改引导页状态
export function bootPage_status(data) {
  return request({
    url: '/town/guide/editStatus',
    method: 'put',
    params:data
  })
}


